package com.zdp.applet.remote;

import com.zdp.common.domain.bo.SubmitOrderBO;
import com.zdp.common.result.ResultInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author sesshomaru
 * @date 2021/7/10 20:43
 * 订单服务
 */
@FeignClient(value = "order-service")
public interface OrderRemoteServer {

    @PostMapping("/order/create")
    public ResultInfo create(@RequestBody SubmitOrderBO submitOrderBO);
}
